package com.kotlin.jetcapk.base

import android.app.Application
import android.content.Context
import android.util.Log
import androidx.startup.Initializer
import com.alibaba.android.arouter.launcher.ARouter

class BaseInitializer : Initializer<Unit> {
    override fun create(context: Context) {
        Log.d("wwwhhh-->","初始化")
        ARouter.openDebug()
        ARouter.openLog()
        ARouter.init(context.applicationContext as Application)
    }

    override fun dependencies(): MutableList<Class<out Initializer<*>>> {
        return mutableListOf()
    }
}